package com.mkb;

import com.mkb.conf.AppConf;
import com.mkb.core.AnnotationConfigApplicationContext;
import com.mkb.service.UserService;

/**
 * @author meikb
 * @desc
 * @date 2020-01-03 09:17
 */
public class TestAplication {
    public static void main(String[] args) throws Exception{
        AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(AppConf.class);
        UserService userService = (UserService) ac.getBean("userService");
        userService.getOrderService();
    }
}
